package com.daniel.design.pattern.adapter.object_adapter;

/**
 * @ClassName Client
 * @Description 对象适配器测试
 * @Author Daniel
 * @Version V1.0.0
 */
public class Client {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.readSd(new SdCardImpl());

        System.out.println("==============");
        computer.readSd(new SdAdapterTf(new TfCardImpl()));
    }
}
